package com.example.hms.dao;

import com.example.hms.entity.RoomType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

@Mapper
public interface RoomTypeDao {
    List<RoomType> selectAllRoomType(
            @Param("roomTypeName")String roomTypeName,
            @Param("roomPrice")BigDecimal roomPrice,
            @Param("roomTypeId")String roomTypeId
            );
    int insert(RoomType roomType);
    int update(@Param("roomTypeId") String roomTypeId);
}
